package com.wei.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 李泽伟
 * @since 2022-03-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GdHousehold implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 住户主键
     */
    @TableId(value = "household_id", type = IdType.INPUT)
    private String householdId;

    /**
     * 住户姓名
     */
    private String householdName;

    /**
     * 住户性别
     */
    private String householdSex;

    /**
     * 外键
     */
    private String householdForeignkey;

    /**
     * 与业主关系
     */
    private String householdRelation;

    /**
     * 身份证号码
     */
    private String householdIdcard;

    /**
     * 籍贯
     */
    private String householdBirthplace;

    /**
     * 工作单位
     */
    private String householdWorkplace;

    /**
     * 工作地址
     */
    private String householdWorkaddress;

    /**
     * 单位邮箱
     */
    private String householdUnitemail;

    /**
     * 联系电话
     */
    private String householdPhone;

    /**
     * 开户行
     */
    private String householdBank;

    /**
     * 银行账号
     */
    private String householdBankAccount;

    /**
     * 入住时间
     */
    private String householdIntime;

    /**
     * 迁出时间
     */
    private String householdOuttime;

    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer deleted;

    /**
     * 乐观锁
     */
    @Version
    private Integer version;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /**
     * 物业地址
     */
    private String propertyAddress;

}
